home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4356 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.sys.sgi.hardware,comp.lang.c++
  2. Path: news.sprintlink.net!NEWS!dns!mike
  3. From: mike@easysw.com (Michael Sweet)
  4. Subject: Re: Help with serial/tty2 communication (write ok, read NOT).
  5. Message-ID: <11d7cc$11191a.ce@NEWS>
  6. Date: Mon, 29 Jan 1996 17:25:26 GMT
  7. Distribution: na
  8. FollowUp: comp.sys.sgi.hardware,comp.lang.c++
  9. References: <4ebkuaINNdqp@retriever.cs.umbc.edu>
  10. Organization: Easy Software Products
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Dave Helfrick. (helfrick@cs.umbc.edu) wrote:
  14.  
  15.  
  16. : I am running on an Impact, and am trying to write a C++ class
  17. : (wrapper for C code) to communicate with a serial port.
  18.  
  19. : I can write ok, but reading is not working.
  20.  
  21. You probably need to set the 'CREAD' bit in the termios 'l_flag' structure
  22. (I think that's the one.  From memory...).
  23.  
  24. I started woring on some UNIX serial I/O pages a long while ago, but haven't
  25. quite finished them up... no free time! :(  Anyways, the current pages can
  26. be accessed by your favorite web browser at http://www.easysw.com/~mike/serial.
  27.  
  28. --
  29. ______________________________________________________________________________
  30.  
  31.  Mike Sweet                  2D & 3D Software for      Easy Software Products
  32.  (301) 994-0377             Silicon Graphics, Inc.      20778 Wolftrap Street
  33.  mike@easysw.com                 Workstations       Lexington Park, MD  20653
  34.                              http://www.easysw.com
  35. ______________________________________________________________________________
  36.  
  37.